Don't pass non-checksums to ostree_repo_has_object()
authorStef Walter <stefw@redhat.com>
Wed, 14 Aug 2013 08:10:08 +0000 (10:10 +0200)
committerStef Walter <stefw@redhat.com>
Wed, 14 Aug 2013 14:08:18 +0000 (16:08 +0200)
commit1904e3e0f4472d98258bbe27887bf87d269705d8
tree4ea1d90b1ce068e4f8a0dfc166248a864af8e0d7
parent8c31e6fda75e4888a93f6eeda4721e30f77b94d3
Don't pass non-checksums to ostree_repo_has_object()

The 'ostree show' command passed non-checksum arguments
to the ostree_repo_has_object() function which led to
an assertion.

https://bugzilla.gnome.org/show_bug.cgi?id=705967
src/ostree/ot-builtin-show.c
tests/test-basic.sh